<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div th:each="book : ${book}" style="width: 200px; height: 200px">
    <input type="hidden" th:value="${book.bookId}"><!--书Id-->
    <a herf="#"><img th:src="@{'/moyue'+${book.getBookCoverUrl()}}"></a><!--作品封面-->
    <h3 th:text="${book.bookName}"></h3><!--作品名字-->
    <h2 th:text="${book.authorName}"></h2><!--作者名字-->
    <span th:text="${book.bookDescription}"></span><!--作品简介-->
    <h2 th:text="${book.getBookClicks()}"></h2><!--点击量-->
    <h2 th:text="${book.bookCollections}"></h2><!--收藏量-->
    <h2 th:if="${book.bookIsEnd}==0">连载</h2><!--作品状态-->
    <h2 th:if="${book.bookIsEnd}==1">完结</h2><!--作品状态-->
    <h2 th:if="${book.bookIsContract}==0">未签约</h2><!--作品状态-->
    <h2 th:if="${book.bookIsContract}==1">已签约</h2><!--作品状态-->
    <a th:href="'/moyue/book/bookdownload/'+${book.bookUrl}">下载</a>
    <h2 th:text="${parentype}"></h2><!--父类型-->
    <h2 th:text="${subtype}"></h2><!--子类型-->
    </div>
    <span th:each="booklist : ${bookLists}">
       <input type="checkbox" th:value="${booklist.getBookListId()}">   <a th:href="'/moyue/book/chapterView/'+${booklist.getBookId()}+'/'+${booklist.getBookListId()}"> <b th:text="${booklist.getBookListName()}"></b></a>
        </span>
<span th:each="label : ${labels}"><b th:text="${label}"></b></span>
    <span>订阅整本书</span>
</body>
</html>